<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:form>
<p:imageSwitch effect="fade" slideshowSpeed="5000">  
    <ui:repeat value="#{imageSwitchBean.images}" var="image">  
        <p:graphicImage value="/design/images/#{image}" height="300px" width="400px"/>  
    </ui:repeat>  
</p:imageSwitch> 
</h:form>

<h:form>
<p style="margin-top: 5px" />
<a href="http://www.inwi.ma" > <p:graphicImage value="/design/images/inwi.jpg" /> </a>
<p style="margin-top: 5px" />
<a href="http://www.emsi.ma" > <p:graphicImage value="/design/images/emsi.jpg" height="100px" width="400px" /> </a>
</h:form>
</html>